#include "searcher.hpp"

const std::string raw_txt_path = "./data/raw_html/raw.txt";

int main()
{
    ns_searcher::Searcher search;
    search.InitSearcher(raw_txt_path);
    
    std::string query;
    std::string json_string;
    while(true)
    {
        std::cout <<"Plaease Enter You Search Query# ";
        std::cin >> query;
        search.Search(query, &json_string);
        std::cout << json_string << std::endl;
    }
    return 0;
}
